package nimo.elibrary.json.model.book;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Enkuso
 * Date: 11/28/12
 * Time: 4:59 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book {

    @SerializedName("id")
    public String id;

    @SerializedName("title")
    public String title;

    @SerializedName("introduction")
    public String introduction;

    @SerializedName("cover")
    public String cover;

    @SerializedName("author")
    public String authorName;

    @SerializedName("meta")
    public String meta;

    @SerializedName("tags")
    public String[] tags;

    @SerializedName("rating")
    public float rating;

    @SerializedName("rates_count")
    public int ratesCount;

    @SerializedName("category")
    public String category;

    @SerializedName("published_year")
    public String publishedYear;

    @SerializedName("page_count")
    public int pageCount;

    @SerializedName("rates")
    public List<Rate> rates;

    @SerializedName("in_press")
    public List<InPress> inPress;

    @SerializedName("related_books")
    public List<Book> related;

    @SerializedName("viewed_date")
    public String viewed_at;
}
